<%--@elvariable id="loginDeptId" type="java.lang.String"--%>
<%--@elvariable id="today" type="java.lang.String"--%>
<%--@elvariable id="loginUserId" type="java.lang.String"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>检查计划添加</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/securityCheck/checkPlan/add.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<form id="form1" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">检查级别:</label>
                    <input id="checkLevelId" name="checkLevelId" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查类型:</label>
                    <input id="checkTypeId" name="checkTypeId" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">检查部门:</label>
                    <input id="checkDeptIds" name="checkDeptIds" value="${loginDeptId}" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查开始日期:</label>
                    <input id="planStartDate" name="planStartDate" value="${today}" class="easyui-datebox" data-options="required:true,validType:'startDateCompare[\'#planEndDate\']'" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查结束日期:</label>
                    <input id="planEndDate" name="planEndDate" class="easyui-datebox" data-options="required:true,validType:'endDateCompare[\'#planStartDate\']'" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">检查计划名称:</label>
                    <input id="name" name="name" type="text" class="easyui-textbox" data-options="required:true" style="width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">接收部门:</label>
                    <input id="receiveDeptIds" name="receiveDeptIds" type="text" style="width: 959px;"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>相关附件</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_two" style="width: 1100px;">
                    <accessory:accessorySimple permission="write" packageKey="check_plan" uploadUserId="${loginUserId}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
